package cn.iocoder.yudao.module.polling.convert.pollingstandard;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.polling.controller.admin.pollingstandard.vo.*;
import cn.iocoder.yudao.module.polling.dal.dataobject.pollingstandard.PollingStandardDO;

/**
 * 巡检标准 Convert
 *
 * @author 左达成
 */
@Mapper
public interface PollingStandardConvert {

    PollingStandardConvert INSTANCE = Mappers.getMapper(PollingStandardConvert.class);

    PollingStandardDO convert(PollingStandardCreateReqVO bean);

    PollingStandardDO convert(PollingStandardUpdateReqVO bean);

    PollingStandardRespVO convert(PollingStandardDO bean);

    List<PollingStandardRespVO> convertList(List<PollingStandardDO> list);

    PageResult<PollingStandardRespVO> convertPage(PageResult<PollingStandardDO> page);

    List<PollingStandardExcelVO> convertList02(List<PollingStandardDO> list);

}
